import request from '@/utils/request'

// 查询GdAppointmentModify列表
export function listGdAppointmentModify(query) {
    return request({
        url: '/api/v1/gdappointmentmodify',
        method: 'get',
        params: query
    })
}

// 查询GdAppointmentModify详细
export function getGdAppointmentModify (ID) {
    return request({
        url: '/api/v1/gdappointmentmodify/' + ID,
        method: 'get'
    })
}


// 新增GdAppointmentModify
export function addGdAppointmentModify(data) {
    return request({
        url: '/api/v1/gdappointmentmodify',
        method: 'post',
        data: data
    })
}

// 修改GdAppointmentModify
export function updateGdAppointmentModify(data) {
    return request({
        url: '/api/v1/gdappointmentmodify/'+data.ID,
        method: 'put',
        data: data
    })
}

// 删除GdAppointmentModify
export function delGdAppointmentModify(data) {
    return request({
        url: '/api/v1/gdappointmentmodify',
        method: 'delete',
        data: data
    })
}

